package com.test.blogsystem.Comment.Exception;

import lombok.Data;

@Data
public class BlogException extends RuntimeException{
    private String msg;
    private Integer code;

    public BlogException(String msg){
        this.msg = msg;
    }

    public BlogException(String msg, Integer code) {
        this.msg = msg;
        this.code = code;
    }
}
